<!DOCTYPE html>
<html lang="en-us">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="icon" type="image/x-icon" href="favicon.png" />
    <title>WakeUpTimes App</title>
    <link
      href="https://fonts.googleapis.com/css?family=Roboto"
      rel="stylesheet"
    />
    <link rel="stylesheet" href="index.css" />
  </head>
  <body>
    <main id="app">
      <section id="prompt-section">
        <h1>WakeUpTimes App</h1>
        <p>
          A sleep cycle lasts about 90 minutes, and a good night's sleep
          consists of 5-6 sleep cycles.
        </p>
        <p>
          If you wake up in the middle of a sleep cycle, you will feel groggy,
          even if you've completed several cycles prior to waking up.
        </p>
        <p>If you go to bed now, when should you wake up?</p>
        <button id="calc-btn">Calculate</button>
      </section>

      <div id="img-container">
        <img src="moon.png" alt="Sleep Cycle" />
      </div>

      <section id="result-section" class="hidden">
        <div class="button-group">
          <button id="return-btn">←</button>
          <button id="refresh-btn">Refresh</button>
        </div>

        <p>
          If you go to bed right now<sup>*</sup>, try to wake up at one of these
          times:
        </p>

        <div id="wakeup-hours-div" class="wakeup-hours">
          <div id="cycle-1" class="cycle">12:15 AM</div>
          <div id="cycle-2" class="cycle">1:45 AM</div>
          <div id="cycle-3" class="cycle">3:15 AM</div>
          <div id="cycle-4" class="cycle">4:45 AM</div>
          <div id="cycle-5" class="cycle">6:15 AM</div>
          <div id="cycle-6" class="cycle">7:45 AM</div>
        </div>

        <p>
          <sup>*</sup>It takes the average human fourteen minutes to fall
          asleep.
        </p>
      </section>
    </main>
    <script src="index.js"></script>
  </body>
</html>